package com.joshua.spring;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * description
 * package joshua
 * classname  ConsumerApp
 *
 * @author <a href="mailto:joshualwork@163.com">joshua_liu</a>
 * @date 2020/3/29 20:11
 */
@EnableFeignClients
@EnableCircuitBreaker
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan("com.joshua.spring.mapper")
@SpringBootApplication(scanBasePackages = "com.joshua.spring.**")
public class ConsumerApp {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApp.class, args);
    }
}
